package com.wao.advertisement.service.mapper;

import com.wao.advertisement.domain.*;
import com.wao.advertisement.service.dto.SpaceDTO;

import org.mapstruct.*;

/**
 * Mapper for the entity Space and its DTO SpaceDTO.
 */
@Mapper(componentModel = "spring", uses = {})
public interface SpaceMapper extends EntityMapper <SpaceDTO, Space> {
    
    
    default Space fromId(Long id) {
        if (id == null) {
            return null;
        }
        Space space = new Space();
        space.setId(id);
        return space;
    }
}
